package com.hulman.oms.dao;

import com.hulman.oms.bean.QuarterReport;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @Author: maxwellens
 */
@Mapper
public interface QuarterReportDao
{
    List<QuarterReport> findQuarterReports(Map<String, Object> map);

    Integer findQuarterReportsCount(Map<String, Object> map);

    QuarterReport findQuarterReportById(Integer id);

    int insertQuarterReport(QuarterReport quarterReport);

    void deleteQuarterReportById(Integer id);

    void deleteQuarterReports(int[] ids);

    int updateQuarterReport(QuarterReport quarterReport);
}
